﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AMS.Core.Entities;
using VitCode.Castle.Entities;

namespace AMS.WorkBill.Entities
{
    /// <summary>
    /// 工单命令行
    /// </summary>
    public class Command
    {

        protected Guid m_Id;
        /// <summary>
        /// 数据唯一标识
        /// </summary>
        public Guid Id
        {
            get { return m_Id; }
            set { m_Id = value; }
        }


        protected string m_WoCode;
        /// <summary>
        /// 工单编号
        /// </summary>
        public string WoCode
        {
            get { return m_WoCode; }
            set { m_WoCode = value; }
        }

        protected AssetInfo m_AssetInfo;
        public AssetInfo AssetInfo
        {
            get { return m_AssetInfo; }
            set { m_AssetInfo = value; }
        }

        protected Site m_OrgSite;
        public Site OrgSite
        {
            get { return m_OrgSite; }
            set { m_OrgSite = value; }
        }

        protected Site m_TargetSite;
        public Site TargetSite
        {
            get { return m_TargetSite; }
            set { m_TargetSite = value; }
        }

        protected User m_OrgUser;
        public User OrgUser
        {
            get { return m_OrgUser; }
            set { m_OrgUser = value; }
        }

        protected User m_TargetUser;
        public User TargetUser
        {
            get { return m_TargetUser; }
            set { m_TargetUser = value; }
        }

        protected UserGroup m_OrgUserGroup;
        public UserGroup OrgUserGroup
        {
            get { return m_OrgUserGroup; }
            set { m_OrgUserGroup = value; }
        }
        protected UserGroup m_TargetUserGroup;
        public UserGroup TargetUserGroup
        {
            get { return m_TargetUserGroup; }
            set { m_TargetUserGroup = value; }
        }

    }
}
